package com.nk.service;

import com.nk.domain.PageListRes;
import com.nk.domain.Permission;
import com.nk.domain.QueryVo;
import com.nk.domain.Role;

import java.util.List;


public interface RoleService {
    public PageListRes getRoles(QueryVo vo);

    void saveRole(Role role);

    List<Permission> getPermissionByRid(long rid);

    void updateRole(Role role);

    int deleteRoleByID(long rid);

    List<Role> selectRoles();

    List<Long> getRoleIDByEid(Long id);
}
